#include("/template/common/layout/_page_layout.html")
#@layout()

#define css()
<style>

</style>
#end

#define js()
<script type="text/javascript">
    layui.use(['table', 'layer'], function () {
            var layer = layui.layer
            , $ = layui.jquery
            , form = layui.form;

        //按钮点击事件
        form.on('submit(sub)', function (data) {
            var v = data.elem.value;
            window.location.href = '#(ctxPath)/app/OrgStructure/management?orgType=' + v;
            return false;
        });
    });


</script>
#end

#define content()
<div class="layui-fluid">
    <fieldset class="layui-elem-field site-demo-button" style="margin-top: 30px;color: #009688">
        <legend style="font-size: 20px;font-weight: 500;">组织架构管理</legend>
        <div>
            <form action="" method="">
                #for(list : nameList)
                <button class="layui-btn layui-btn-lg layui-btn-normal " style="border-radius: 5px" lay-submit lay-filter="sub" value="#(list == '管理机构'?'0':list == '企业机构'?'1':list == '服务机构'?'2':list == '审查团体'?'3':list == '专业团体'?'4':'')">#(list)</button>
                #end
            </form>
        </div>
    </fieldset>
</div>

#end